package cn.edu.mju.dilidili.auth.serviceFeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 作用描述
 *
 * @author linzsh
 * @date 2022/9/25 20:07
 */
@FeignClient(name = "user")
public interface UserServiceFeign {
    @PostMapping("user/login")
    String login(@RequestParam("username") String username, @RequestParam("password") String password);
}
